package entity

import (
	"time"

	"shqsoft.cn/pasnj/base"
)

//CompAcco 用户
type CompAcco struct {
	ID   int        `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	ACNO string     `gorm:"column:ACNO"`
	BANO string     `gorm:"column:BANO"`
	CUNM string     `gorm:"column:CUNM"`
	CYNO string     `gorm:"column:CYNO"`
	OPDT *time.Time `gorm:"column:OPDT"`
	VLDT *time.Time `gorm:"column:VLDT"`
	MADT *time.Time `gorm:"column:MADT"`
	INRT float64    `gorm:"column:INRT"`
}

//TableName User用户表名
func (CompAcco) TableName() string {
	return "T_COMP_ACCO"
}

func CompAccoEF() base.EntityFunc {
	return func() interface{} {
		entity := CompAcco{}
		return &entity
	}
}
func CompAccoESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []CompAcco
		return &entities
	}
}

func init() {
	base.DaoPoolObj.Put("CompAcco", base.NewDefaultDao(CompAccoEF(), CompAccoESF(), nil))
}
